# (c) 2008 by Florina Nacu < florina@omnidatagrup.ro >

project(PuncteLucru)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(PuncteLucru_SRCS puncteLucruplugin.cpp puncteLucru.cpp)
QT4_WRAP_CPP(PuncteLucru_SRCS puncteLucruplugin.h puncteLucru.h)
QT4_WRAP_UI(PuncteLucru_SRCS puncteLucru.ui)
QT4_ADD_RESOURCES(PuncteLucru_SRCS puncteLucru.qrc)

add_library(PuncteLucru SHARED ${PuncteLucru_SRCS})
add_dependencies(PuncteLucru KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(PuncteLucru KontAMabil ${QT_LIBRARIES})

install(TARGETS PuncteLucru  ${INSTALL_PLUGINS_DEFAULT_ARGS})
